package com.chaosyeb.server.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Description : 注册VO
 * @Author : Chaos
 * @Date : 2022/5/6 14:28
 * @Version : 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterVO {

    private String name;

    private String phone;

    private String username;

    private String password1;

    private String password2;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private String createBy;

    private String updateBy;

    @Version
    private Integer version;


}
